home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / menu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  2.1 KB  |  58 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1998 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef menuH
  7. #define menuH
  8. //---------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <Quickrpt.hpp>
  15. #include <quickrpt.hpp>
  16. //---------------------------------------------------------------------------
  17. class TMainForm : public TForm
  18. {
  19. __published:    // IDE-managed Components
  20.     TLabel *Label1;
  21.     TLabel *Label2;
  22.     TLabel *Label3;
  23.     TImage *Image2;
  24.     TGroupBox *GroupBox1;
  25.     TRadioButton *SimpleList;
  26.     TRadioButton *GroupedList;
  27.     TRadioButton *MasterDetail;
  28.     TRadioButton *SQLMasterDetail;
  29.     TMemo *Description;
  30.    TRadioButton *Composite;
  31.     TButton *Preview;
  32.     TButton *Print;
  33.     TButton *Exit;
  34.     TQuickRep *CompositeReport;
  35.     TQRCompositeReport *QRCompositeReport1;
  36.     void __fastcall FormActivate(TObject *Sender);
  37.     void __fastcall SimpleListClick(TObject *Sender);
  38.     void __fastcall GroupedListClick(TObject *Sender);
  39.     void __fastcall MasterDetailClick(TObject *Sender);
  40.     void __fastcall SQLMasterDetailClick(TObject *Sender);
  41.     void __fastcall CompositeClick(TObject *Sender);
  42.     void __fastcall QRCompositeReport1AddReports(TObject *Sender);
  43.     void __fastcall ExitClick(TObject *Sender);
  44.     void __fastcall PrintClick(TObject *Sender);
  45.     void __fastcall PreviewClick(TObject *Sender);
  46.    
  47. private:    // User declarations
  48.    TQuickRep * FReport;
  49.     void SetReport(TQuickRep *);
  50. public:        // User declarations
  51.     __fastcall TMainForm(TComponent* Owner);
  52.    __property TQuickRep * Report = {read = FReport, write = SetReport};
  53. };
  54. //---------------------------------------------------------------------------
  55. extern TMainForm *MainForm;
  56. //---------------------------------------------------------------------------
  57. #endif
  58.